package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbAreasMapper;
import com.dongdongshop.pojo.TbAreas;
import com.dongdongshop.service.AreasService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
@DubboService
public class AreasServiceImpl implements AreasService {

    @Resource
    private TbAreasMapper tm;

    @Override
    public List<TbAreas> getAreasByCid(String cityid) {
        return tm.getAreasByCid(cityid);
    }
}
